/**
 * 
 */
package com.witframework.baseapp.security;

import com.witframework.core.BaseEntity;
import com.witframework.core.annotations.Wit;


@Wit(cnname = "用户角色")
public class UserRoles extends BaseEntity{	
	private BaseUser user;	
	private Role role;	
	
	
	/** default constructor */
	public UserRoles() {
	}
	/** full constructor */
	public UserRoles(BaseUser user, Role role) {
		this.user = user;
		this.role = role;		
	}

	public BaseUser getUser() {
		return user;
	}

	public void setUser(BaseUser user) {
		this.user = user;
	}

	public Role getRole() {
		return role;
	}

	public void setRole(Role role) {
		this.role = role;
	}
}
